package com.tjh.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tjh.common.utils.PageUtils;
import com.tjh.gulimall.product.entity.SpuInfoEntity;
import com.tjh.gulimall.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * Create by koala on 2021-01-24 21:36:10
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //day35
    void saveSpuInfo(SpuSaveVo vo);

    //day35.1
    void saveBaseSpuInfo(SpuInfoEntity infoEntity);

    //day38
    PageUtils queryPageByCondition(Map<String, Object> params);

    //day50
    void up(Long spuId);

    //day122
    SpuInfoEntity getSpuInfoBySkuId(Long skuId);
}

